Learn R Programming

scpm (version 2.0.0)

B5. Variogram: Compute and plot the semi-variogram from scp object.

Description

Compute and plot the semi-variogram of the semiparametric model from a scp object.

Usage

# S4 method for sssFit
Variogram(object, distance, plot, ...)

Arguments

object

sssFit object from scp.

distance

numeric vector. The distances at which to compute the semi-variogram. By default is set to NULL.

plot

logical. plot=TRUE (the default) produce the semivariogram plot. plot=FALSE returns the values of the semivariogram at distance. See value.

other graphical parameters to pass.